package com.scuec.tourismwebsite.service;

import com.scuec.tourismwebsite.entity.FreeformPostFavorite;
import com.scuec.tourismwebsite.vo.OfficialFavorite;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FreeformPostFavoriteService {
    List<OfficialFavorite> selectUserOfficialFavorites(int user_id);
    public int deleteFreeformPostFavorite(@Param("user_id") int user_id, @Param("post_id") int post_id);
    public List<FreeformPostFavorite> selectFreeformPostFavoriteById(@Param("user_id") int user_id, @Param("post_id") int post_id);
    public int insertFreeformPostFavorite(@Param("user_id") int user_id, @Param("post_id") int post_id);
}
